import request from '@/utils/request'
/** 支付配置 Start **/
// 获取支付配置
export function apiPaymentConfigLists() {
    return request.get({ url: '/system/pay/list' })
}

// 微信支付配置设置
export function apiWXPaymentConfigSet(params: any) {
    return request.post({ url: '/system/pay/wx/setup', params })
}

// 微信支付配置详情
export function apiWXPaymentConfigDetail(params: any) {
    return request.get({ url: '/system/pay/wx/detail', params })
}

// 余额支付配置设置
export function apiPaymentConfigSet(params: any) {
    return request.post({ url: '/system/pay/balance/setup', params })
}

// 余额支付配置详情
export function apiPaymentConfigDetail(params: any) {
    return request.get({ url: '/system/pay/balance/detail', params })
}

// 获取支付方式列表
export function apiPaymentWayLists() {
    return request.get({ url: '/system/payway/list' })
}

// 支付方式设置
export function apiPaymentWaySet(params: any) {
    return request.post({ url: '/system/payway/update', params })
}
/** 支付配置 End **/
